body {
  background-color: #fdfdf9;
}
body::-webkit-scrollbar {
  background-color: beige;
  width: 0.5rem;
}
body::-webkit-scrollbar-thumb {
  background-color: #167a92;
  border-radius: 5px;
}
* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  font-family: "poppins";
  --word-spacing: 2px;
  --font-size: 13px;
}

/* header ad */
#header {
  position: relative;
  font-size: var(--font-size);
  color: white;
  word-spacing: var(--word-spacing);
}
#left {
  position: absolute;
  width: 0.8rem;
  left: 5%;
  top: 15px;
  cursor: pointer;
}
#right {
  position: absolute;
  width: 0.8rem;
  top: 15px;
  left: 93%;
  cursor: pointer;
}
#header-first {
  display: flex;
  background-color: #a58513;
  padding: 15px 0px;
  justify-content: center;
}
#header-first > p:nth-child(1) {
  font-style: italic;
}
#header-first p {
  margin-right: 17px;
}
#header-first a {
  color: #fdfdf9;
  word-spacing: var(--word-spacing);
}
#header-second {
  display: flex;
  background-color: #495b7f;
  padding: 15px 0px;
  justify-content: center;
  display: none;
}
#header-second > p:nth-child(1) {
  font-style: italic;
}
#header-second p {
  margin-right: 17px;
}
#header-second a {
  color: #fdfdf9;
  word-spacing: var(--word-spacing);
}

/* login and signup */

#navbars {
  position: sticky;
  /* top: .1px; */
  bottom: 0.5px;
}

#login-signup {
  position: relative;
  background-color: #5e767819;
  display: flex;
  justify-content: flex-end;
  font-size: var(--font-size);
}
#language {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-right: 15px;
  padding: 10px;
}
#language > img:nth-child(1) {
  width: 1.6rem;
  margin-right: 5px;
}
#language > p:nth-child(2) {
  color: rgb(107, 111, 231);
  margin-right: 5px;
}
#language p + img {
  width: 1rem;
  transform: rotate(270deg);
  cursor: pointer;
}
#language-show {
  display: none;
  width: 12rem;
  height: 8rem;
  background-color: #fdfdf9;
  box-shadow: rgba(0, 0, 0, 0.02) 0px 1px 3px 0px,
    rgba(27, 31, 35, 0.15) 0px 0px 0px 1px;
  position: absolute;
  z-index: 3;
  left: 73%;
  top: 50px;
  padding: 20px;
  line-height: 30px;
}
#language-show > p:nth-child(4) {
  color: blueviolet;
  text-decoration: underline;
}
#log-sign {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-right: 40px;
  color: rgb(107, 111, 231);
  cursor: pointer;
}
#log-sign img {
  width: 1.6rem;
  margin-right: 5px;
}

#logout {
  border: 0;
  outline: 0;
  background-color: #167a92;
  color: white;
  padding: 7px;
  text-transform: uppercase;
  font-size: var(--font-size);
  border-radius: 3px;
  display: none;
}

/* login form */

#for-varify {
  padding-top: 10px;
  box-sizing: content-box;
  padding-bottom: 35px;
  width: 22rem;
  height: 50vh;
  position: fixed;
  z-index: 5;
  background-color: white;
  box-shadow: rgba(50, 50, 93, 0.25) 0px 50px 100px -20px,
    rgba(0, 0, 0, 0.3) 0px 30px 60px -30px,
    rgba(10, 37, 64, 0.35) 0px -2px 6px 0px inset;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: none;
}
#lgs {
  display: flex;
  justify-content: center;
  margin-top: 10px;
  cursor: pointer;
}
#lgs > p {
  margin-bottom: 20px;
  padding: 5px 50px 5px 50px;
  border: 2px solid rgb(232, 224, 224);
  background-color: rgb(244, 239, 239);
  font-weight: 600;
  font-size: 17px;
  cursor: pointer;
}
#lgs > p:nth-child(2) {
  background-color: rgb(247, 5, 211);
  color: white;
}
#display {
  width: 90%;
  margin: auto;
}
#for-login {
  display: flex;
  flex-flow: column;
  position: relative;
  display: none;
}
input[type="password"],
input[type="email"] {
  display: block;
  width: 100%;
  margin-bottom: 20px;
  padding: 8px;
  border: 1px solid rgb(232, 224, 224);
  font-size: 15px;
}
input[type="password"] {
  margin-bottom: 5px;
}
#hide_show {
  position: absolute;
  top: 26%;
  left: 90%;
  cursor: pointer;
}
#hide,
#show {
  width: 70%;
}
#hide {
}
#show {
  display: none;
}
#forgot {
  color: rgb(247, 5, 211);
  font-size: 15px;
  cursor: pointer;
  margin-bottom: 15px;
}
#forgot + input[type="submit"] {
  width: 100%;
  border: none;
  background-image: linear-gradient(
    to right,
    rgb(247, 0, 201),
    rgb(164, 85, 152)
  );

  color: rgb(247, 247, 247);
  font-size: 17px;
  border-radius: 5px;
  padding: 5px;
  margin-bottom: 10px;
  cursor: pointer;
  margin-top: 10px;
}
#not-member {
  font-size: 15px;
  margin-top: 20px;
}
#not-member > span {
  color: rgb(247, 5, 211);
  cursor: pointer;
}

/* for signup section here */

#for-signup {
  display: flex;
  flex-flow: column;
  position: relative;
  /* display: none; */
}

#for-signup input {
  display: block;
  width: 100%;
  margin-bottom: 10px;
  padding: 8px;
  border: 1px solid rgb(232, 224, 224);
  font-size: 15px;
}

#checkbox {
  position: absolute;
  top: 67%;
  right: 45%;
  accent-color: rgb(206, 25, 179);
  width: 0.7rem;
  height: 0.7rem;
  cursor: pointer;
}
label {
  margin-left: 10%;
  font-size: 15px;
  position: relative;
  bottom: 1px;
  margin-bottom: 3px;
}
#signup-submit {
  width: 100%;
  border: none;
  background-image: linear-gradient(
    to right,
    rgb(247, 0, 201),
    rgb(164, 85, 152)
  );
  color: white;
  cursor: pointer;
}
#for-signup > form + P {
  font-size: 15px;
}
#for-signup > form + P > span {
  color: rgb(206, 25, 179);
  font-weight: 600;
  cursor: pointer;
}
#hide_show-forsignup {
  position: absolute;
  top: 35%;
  left: 90%;
  cursor: pointer;
}
#hide,
#show {
  width: 70%;
}
#hide {
}
#show {
  display: none;
}

#cross {
  position: fixed;
  width: 2rem;
  left: 22rem;
  bottom: 21rem;
  cursor: pointer;
}

/* navbar */

#navbars {
  position: sticky;
  top: 0.1px;
  bottom: 10px;
  z-index: 2;
  background-color: white;
}
#navbar {
  display: flex;
  justify-content: space-between;
  border-bottom: 0.1px solid #5e767855;
  padding: 0px 40px 0px 40px;
  height: 3rem;
}
#logo {
  display: flex;
  align-items: center;
}
#logo > :nth-child(1) {
  letter-spacing: 8px;
  font-family: "Courier New", Courier, monospace;
  font-weight: 600;
  border: 0.1px solid #5e767855;
  border-top: 4px solid #167a92;
  padding: 15px 40px;
  height: 100%;
  text-decoration: none;
  color: #167a92;
}
#logo > :nth-child(2) {
  width: 8rem;
  border: 0.1px solid #5e767855;
  padding: 15px 10px 10px 10px;
  height: 100%;
}
#searchbar {
  display: flex;
  position: relative;
  align-items: center;
  justify-content: center;
  width: 30%;
}
#searchbar > div:nth-child(1) {
  height: 100%;
  position: relative;
  top: 8px;
}
#searching {
  height: 75%;
  padding-left: 20px;
  border-radius: 5px;
  border: 0.1px solid #5e767855;
  font-size: var(--font-size);
  overflow: hidden;
  width: 15rem;
}

#searchbar img {
  width: 1rem;
}
#search-submit {
  position: absolute;
  width: 1rem;
  left: 82.2%;
  padding: 11.5px;
  box-sizing: content-box;
  background-color: #167a92;
  border-top-right-radius: 5px;
  border-bottom-right-radius: 5px;
  cursor: pointer;
  margin-left: 10px;
}
#searchbar > div:nth-child(1) + div {
  display: flex;
}
#searchbar > div:nth-child(1) + div img {
  width: 1.5rem;
  cursor: pointer;
  margin-left: 15px;
  padding-top: 14px;
}
/* #busket img{
  width: 15rem;
  margin-left: 10px;
} */

#humburger {
  display: none;
}

/* nav menu */
#nav-menu {
  display: flex;
  flex-flow: row wrap;
  font-size: 14px;
  padding: 20px 50px;
  border: 0.1px solid #5e767855;
  border-top: none;
  height: 3rem;
}
#nav-menu > p {
  margin-right: 15px;
}
#nav-menu > p:hover {
  color: #167a92;
  padding-bottom: 18px;
  border-bottom: 2px solid #167a92;
  cursor: pointer;
}

/* .under-nav-menu */
#nav-menu {
  position: relative;
}
#for-new,
#under-Weddings,
#for-dress {
  display: grid;
  grid-template-columns: repeat(3, 200px);
  gap: 30px;
  width: 70%;
  padding: 20px;
  box-shadow: rgba(0, 0, 0, 0.05) 0px 6px 24px 0px,
    rgba(0, 0, 0, 0.08) 0px 0px 0px 1px;
  position: absolute;
  z-index: 1;
  background-color: white;
  display: none;
}

.under-for-new,
.under-for-weddings,
.under-for-dress {
  display: flex;
  flex-direction: column;
  border-right: 0.1px solid #5e767855;
  padding: 10px;
}
.under-for-weddings h5,
.under-for-new h5,
.under-for-dress h5 {
  border-bottom: 0.1px solid #5e767855;
  margin-bottom: 10px;
  padding-bottom: 15px;
}
.under-for-weddings a,
.under-for-new a,
.under-for-dress a {
  font-size: var(--font-size);
  color: black;
  text-decoration: none;
  line-height: 25px;
}
.image {
  border-right: none;
  border-bottom: 0.1px solid #5e767855;
}
.under-for-new img,
.under-for-weddings img,
.under-for-dress img {
  width: 100%;
}
.under-for-weddings a:hover,
.under-for-new a:hover,
.under-for-dress a:hover {
  color: #167a92;
  text-decoration: underline;
}
/* 
filter */
#sort{
display: flex;
justify-content: space-between;
padding: 40px;
padding-bottom: 0;
}


#filter,#sorting{
border: 0;
padding: 10px;
cursor: pointer;
box-shadow: rgba(50, 50, 93, 0.25) 0px 50px 100px -20px, rgba(0, 0, 0, 0.3) 0px 30px 60px -30px, rgba(10, 37, 64, 0.35) 0px -2px 6px 0px inset;
border-radius: 4px;
font-weight: 600;
font-size: 15px;
}

/* prodoct body section */
#product {
  padding: 40px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
}

#product > div {
  box-shadow: rgba(50, 50, 93, 0.25) 0px 50px 100px -20px,
    rgba(0, 0, 0, 0.3) 0px 30px 60px -30px,
    rgba(10, 37, 64, 0.35) 0px -2px 6px 0px inset;
  overflow: hidden;
  position: relative;
}
#product img {
  width: 100%;
  height: 10rem;
  object-fit: contain;
}
#product > div > :nth-child(1) {
  background-color: #167a92;
  width: max-content;
  color: #f5f5f5;
  font-weight: 200;
  letter-spacing: 2px;
  padding: 5px;
  font-size: var(--font-size);
}
#product > div > :nth-child(3) {
  text-align: center;
  font-weight: 700;
  color: #167a92;
  margin-bottom: 5px;
}
#product > div > :nth-child(4) {
  display: flex;
  justify-content: space-between;
  margin: 0px 15px 0px 15px;
}
#product > div > :nth-child(4) > :nth-child(1)::before {
  content: "$ ";
  font-size: large;
}
#product > div > :nth-child(4) > :nth-child(2)::after {
  content: " DISC";
  background-color: #167a92;
  color: #f5f5f5;
  font-weight: 200;
  font-size: var(--font-size);
  padding: 5px;
  margin-left: 3px;
}
#product > div > :nth-child(5) {
  text-align: center;
  font-weight: 900;
  margin-bottom: 10px;
}
#product > div > :nth-child(6) {
  font-size: var(--font-size);
  margin: 0px 15px 10px 15px;
  text-align: center;
}
#product > div > button {
  background-color: #167a92;
  border: 0;
  outline: 0;
  padding: 15px;
  width: 50%;
  margin: auto;
  display: block;
  color: white;
  cursor: pointer;
}

/* Sign Up for Email */
footer {
  background-color: rgba(92, 92, 95, 0.093);
}
#for-email {
  padding: 40px;
  display: flex;
  justify-content: space-between;
}
#for-email > div > p:nth-child(1) {
  font-weight: 500;
  margin-bottom: 20px;
}
#for-email div > p:nth-child(2) {
  font-size: var(--font-size);
  margin-bottom: 20px;
}
#for-email > form label {
  display: block;
  font-size: var(--font-size);
  font-weight: 600;
  color: rgb(65, 60, 60);
  position: relative;
  right: 40px;
}
#email-form{
display: flex;
}
#email {
  height: 2.5rem;
  border: 0.1px solid #5e767855;
  width: 30vw;
  margin-right: 5px;
}
input[type="submit"] {
  height: 2.5rem;
  padding: 0px 30px;
  background-color: rgb(71, 74, 74);
  border: 0;
  outline: 0;
  color: white;
  cursor: pointer;
}

#for-email + p {
  padding: 40px;
  font-size: var(--font-size);
  position: relative;
  bottom: 15px;
  border-bottom: 0.1px solid #5e767855;
}

/* help */

#help {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  padding: 40px;
}
.under-help > p:nth-child(1) {
  font-size: var(--font-size);
  font-weight: 600;
  color: rgb(65, 60, 60);
  margin-bottom: 10px;
}
.under-help > p:nth-child(1) + div p {
  font-size: var(--font-size);
  line-height: 25px;
}
.under-help > p:nth-child(1) + div p:hover {
  text-decoration: underline;
}

#help > :last-child p {
  font-size: var(--font-size);
  color: #167a92;
  cursor: pointer;
}
#help > :last-child > div {
  display: flex;
  align-self: center;
  margin-bottom: 15px;
}
#help > :last-child > div img {
  width: 1rem;
  align-self: center;
  margin-right: 15px;
}

/* social link */
footer {
  padding-bottom: 50px;
}
#social {
  padding: 40px;
  display: flex;
  justify-content: center;
}
#social img {
  width: 1rem;
  margin-right: 20px;
  align-self: center;
  cursor: pointer;
}
#social > div > img:nth-child(1) {
  width: 3.5rem;
  position: relative;
  top: 3px;
}
#social + img {
  padding: 40px;
  width: 100%;
}

#usa,
#privacy {
  display: flex;
  padding: 40px;
  padding-bottom: 0;
  padding-top: 0;
  justify-content: center;
}
#usa p,
#privacy p {
  border-right: 0.1px solid #5e767855;
  font-size: var(--font-size);
  padding: 10px;
}
#privacy + p {
  text-align: center;
  font-size: var(--font-size);
  margin-top: 10px;
}

/* alert showing  */

#alert-showing {
  width: 25rem;
  background-color: rgb(255, 9, 9);
  color: white;
  text-transform: capitalize;
  padding: 5px;
  border-radius: 5px;
  position: fixed;
  top: 10px;
  z-index: 6;
  top: 10%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  letter-spacing: 2px;
  display: none;
}
#S_logged {
  width: 25rem;
  background-color: white;
  color: rgb(12, 12, 12);
  text-transform: capitalize;
  padding: 10px;
  border-radius: 5px;
  position: fixed;
  top: 10px;
  z-index: 6;
  top: 15%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  letter-spacing: 2px;
  font-weight: 600;
  display: none;
}


/* media quary section here */

@media screen and (max-width: 950px) and (min-width: 550px) {
  #header {
    display: none;
  }

  #navbars {
    height: 7.5rem;
    box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
  }

  #navbar {
    flex-direction: column;
    border-bottom: none;
  }
  #logo {
    justify-content: space-between;
    margin-bottom: 10px;
  }
  #logo > :nth-child(1) {
    width: 45%;
    text-align: center;
    height: max-content;
  }
  #logo > :nth-child(2) {
    width: 45%;
    text-align: center;
    height: max-content;
    border-left: 0.1px solid #5e767855;
  }

  #searchbar {
    display: flex;
    justify-content: space-between;
    width: 100%;
  }
  #searching {
    width: 90%;
    margin-right: 0;
  }
  #search-submit {
    left: 83.9%;
    padding: 8.9px;
  }
  #busket {
    position: relative;
    right: 30px;
  }
  #humburger {
    display: block;
    position: relative;
    bottom: 6px;
  }
  #searchbar > :nth-child(1) {
    width: 100%;
  }

  #nav-menu {
    flex-flow: column;
    position: absolute;
    right: 10px;
    top: 90%;
    background-color: teal;
    color: white;
    height: max-content;
    line-height: 40px;
    border-radius: 5px;
    display: none;
  }

  /* #nav-menu > p {
  margin-right: 15px;
} */
  #nav-menu > p:hover {
    color: #0c0c0c;
    padding-bottom: 18px;
    border-bottom: 2px solid #0e0e0e;
    cursor: pointer;
  }
}
